<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>新增属性值</h2>
    </div>
    <form action="{:U(Attr/Attrvalue)}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">添加属性类型为{$res.kname|default=''}的属性值<span class="check-tips">（尺寸：l,m,s;容量：16G,32G,64G之类）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="vname" value="">
                <input type="hidden" name="gid" value="{$map.gid}">
                <input type="hidden" name="kid" value="{$map.kid}">
            </div>
        </div>
       
        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Attr/index')}');
    </script>
</block>
